package cn.snowsoft.iot.module.cps.controller.admin.equipment.vo;

import cn.snowsoft.iot.framework.common.pojo.PageParam;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import lombok.*;


@TableName(value = "cps_equipment", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentPageVO extends PageParam {


    private static final long serialVersionUID = 1L;
    private String equipmentCode;
    private String equipmentName;
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long collectionId;
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private String collectionCode;
    private String cabinCode;
    private String productName;
    private String productCode;
    private Integer stationAddress;
    private Integer isEnable;
    private String remark;
    @TableField(value = "node_code")
    private String nodeCode;
    private String agreementType;
    private String equipmentAscription;
    private Long passageId;

    /**
     * 点位类型
     */
    private String pointType;
}
